package com.espirit.hr;

import java.io.Serializable;
import java.math.BigDecimal;

import com.espirit.eap.annotation.DomainModel;
import com.espirit.finance.core.AcctTerm;

@DomainModel
public class HrSetting implements Serializable{
	private static final long serialVersionUID = 1540252309945489316L;
	public static final String TIME_FORMAT="yyyy-MM-dd HH:mm";

	public static BigDecimal DEFAULT_AMOUNT_PER_TIME = BigDecimal.valueOf(2);
	
	public static final Integer PUNCH_IN_OUT_TYPE_LOOSE = 1;
	public static final Integer PUNCH_IN_OUT_TYPE_STRICT = 2;
	
//	public String getSchedualDeptIds() {
//		return schedualDeptIds;
//	}
//	public void setSchedualDeptIds(String schedualDeptIds) {
//		this.schedualDeptIds = schedualDeptIds;
//	}

	public AcctTerm getCurrentAcctTerm() {
		return currentAcctTerm;
	}
	public void setCurrentAcctTerm(AcctTerm currentAcctTerm) {
		this.currentAcctTerm = currentAcctTerm;
	}
	public Integer getPunchInBeforeMinutes() {
		return punchInBeforeMinutes;
	}
	public void setPunchInBeforeMinutes(Integer punchInBeforeMinutes) {
		this.punchInBeforeMinutes = punchInBeforeMinutes;
	}
	public Integer getPunchOutAfterMinutes() {
		return punchOutAfterMinutes;
	}
	public void setPunchOutAfterMinutes(Integer punchOutAfterMinutes) {
		this.punchOutAfterMinutes = punchOutAfterMinutes;
	}

	public String getDateFormat() {
		return dateFormat;
	}
	public void setDateFormat(String dateFormat) {
		this.dateFormat = dateFormat;
	}

	public Boolean getTopMenu() {
		return topMenu;
	}
	public void setTopMenu(Boolean topMenu) {
		this.topMenu = topMenu;
	}
	public Integer getPunchInOutType() {
		return punchInOutType;
	}
	public void setPunchInOutType(Integer punchInOutType) {
		this.punchInOutType = punchInOutType;
	}

	public String getPaidLeaves() {
		return paidLeaves;
	}
	public void setPaidLeaves(String paidLeaves) {
		this.paidLeaves = paidLeaves;
	}


	//	private String schedualDeptIds;
	private Integer punchInOutType;
	
	private Integer punchInBeforeMinutes;

	private Integer punchOutAfterMinutes;
	
	private AcctTerm  currentAcctTerm;
	private String dateFormat;
	private Boolean topMenu;
	private String paidLeaves; //leave type add to dutyrecord.
}
